package com.onesports.intelligent.k12.polarlight.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.onesports.intelligent.k12.polarlight.annotation.SysDict;

@SysDict(value = "员工类型",code = "OrganizationStaffType")
public enum OrganizationStaffTypeEnum implements IEnum<String> {

    /**
     * 机构员工类型
     */
    STAFF("1","员工"),
    COACH("2","教练"),
    STAFF_COACH("3","员工+教练");

    private final String value;
    private final String label;

    OrganizationStaffTypeEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @JsonValue
    public String getLabel() {
        return this.label;
    }

}
